#!/bin/bash

build_type=Release
if [ "x$DEBUG" != "x" ]; then
    build_type=Debug
fi
echo "build_type:" ${build_type}

echo -e "begin build faceEngine lib\n========================================="
rm -rf ./build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=${build_type} ..
make -j4
cd ..
echo -e "build for linux done!\n\n"
